home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
bread-cooking.swf
/
scripts
/
frame_84
/
PlaceObject2_65_980
/
CLIPACTIONRECORD onClipEvent(load).as
next >
Wrap
Text File
|
2011-01-13
|
623b
|
33 lines
onClipEvent(load){
function AddSound()
{
yakiCnt++;
soundObj.setVolume(yakiCnt * 10 + 10);
if(yakiCnt == 1)
{
soundObj.start(0,999999);
}
}
function RemoveSound()
{
yakiCnt--;
soundObj.setVolume(yakiCnt * 10 + 10);
if(yakiCnt == 0)
{
soundObj.stop();
}
}
function StopSound()
{
soundObj.stop();
vakiCnt = 0;
}
yakiCnt = 0;
isDrag = true;
state = 0;
Mouse.hide();
this.gotoAndStop("tsutsuki");
soundObj = new Sound(this);
soundObj.attachSound("yaku");
}